package com.boss.common.entity;

import java.io.Serializable;

/**
 * <br>Title: 工作流操作对象
 * <br>Description:工作流操作对象
 * <br>Author: 朱孝恒
 * <br>Date: 2019年12月10日 21:23
 */
public class WfActionDTO<T> implements Serializable {
    /**
     * 菜单guid
     */
    private String menuguid;
    /**
     * 业务数据key，如果是多个，则用逗号隔开
     */
    private String businessKeys;

    /**
     * 操作类型
     */
    private String actionType;
    /**
     * 操作名称
     */
    private String actionName;
    /**
     * 审批意见
     */
    private String message;
    /**
     *流程定义key
     */
    private String processDefKey;
    /**
     *业务数据的唯一标识名称
     */
    private String bizKeyName;
    /**
     *用户id
     */
    private String userId;
    /**
     *退回菜单id
     */
    private String backMenuguid;
    /**
     *年度
     */
    private String year;
    /**
     *区划
     */
    private String province;

    /** 流程状态 **/
    private String status;
    /**
     *业务数据JSON数组
     */
    private T bizDatas;

    private T data;

    public String getMenuguid() {
        return menuguid;
    }

    public void setMenuguid(String menuguid) {
        this.menuguid = menuguid;
    }

    public String getBusinessKeys() {
        return businessKeys;
    }

    public void setBusinessKeys(String businessKeys) {
        this.businessKeys = businessKeys;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getProcessDefKey() {
        return processDefKey;
    }

    public void setProcessDefKey(String processDefKey) {
        this.processDefKey = processDefKey;
    }

    public String getBizKeyName() {
        return bizKeyName;
    }

    public void setBizKeyName(String bizKeyName) {
        this.bizKeyName = bizKeyName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBackMenuguid() {
        return backMenuguid;
    }

    public void setBackMenuguid(String backMenuguid) {
        this.backMenuguid = backMenuguid;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public T getBizDatas() {
        return bizDatas;
    }

    public void setBizDatas(T bizDatas) {
        this.bizDatas = bizDatas;
    }

    public String getActionName() {
        return actionName;
    }

    public void setActionName(String actionName) {
        this.actionName = actionName;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    public String toString() {
        return "WfActionDTO{" +
                "menuguid='" + menuguid + '\'' +
                ", businessKeys='" + businessKeys + '\'' +
                ", actionType='" + actionType + '\'' +
                ", actionName='" + actionName + '\'' +
                ", message='" + message + '\'' +
                ", processDefKey='" + processDefKey + '\'' +
                ", bizKeyName='" + bizKeyName + '\'' +
                ", userId='" + userId + '\'' +
                ", backMenuguid='" + backMenuguid + '\'' +
                ", year='" + year + '\'' +
                ", province='" + province + '\'' +
                ", status='" + status + '\'' +
                ", bizDatas=" + bizDatas +
                ", data=" + data +
                '}';
    }
}
